//#ifndef __CLERK_H
//#define __CLERK_H
#pragma once
class Employee;

#include "Employee.h"

using namespace std;

class Clerk : virtual public Employee
{
public:
					Clerk(const string firstName, const  string lastName, int age, eGender gender, int salary , int numOfOpennedAccounts);
			void	increaseOpennedAccounts();
			void	descreaseOpennedAccounts();
	virtual int		getSalary()									const;
	virtual void	toOs(ostream& os, bool isFullPrint=true)	const;	

	static  void    updateBonusPerOppenedAccount(int bonus);

	virtual			~Clerk();

protected:
	int				numOfOpennedAccounts;
	virtual int		getBonus()									const;

private:
					Clerk(const Clerk& c);
			void	operator=(const Clerk& other);
	static	int		bonusPerOpenedAccount;
};
//#endif